<template>
	<view class="Register_content">
		<view class="msg_first"><image :src="i18n.msg_first" ></image></view>
		<view class="msg_secound"><image :src="i18n.msg_secound"></image></view>
		<view class="register_entry">
			<view class="register_type">
				<view class="new_driver" @tap="newDriver">
					<image src="../../static/image/new_driver.png"></image>
					<text>{{i18n.xbzhname}}</text>
				</view>
				<text class="or">or</text>
				<view class="old_driver" @tap="major">
					<image src="../../static/image/old_driver.png"></image>
					<text>{{i18n.zyyhname}}</text>
				</view>
				
			</view>
			<text class="has_account" @tap="login">{{i18n.hac_account}}</text>
			<view class="tips">
				<image src="../../static/image/tip_icon.png"></image>
			<!-- 	<text>什么是公私钥、助记词、一级账户和子账户</text> -->
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		computed: {
			i18n() {
				return this.$t('user')
			}
		},
		data() {
			return {
			}
		},
		onLoad() {

		},
		methods: {
			newDriver(){
				this.$CommonJS.navigateTo('./xiaobai_user')
			},
			major(){
				this.$CommonJS.navigateTo('./memory_world_tip')
			},
			login(){
				this.$CommonJS.navigateTo('../login/login')
			}
			
		}
	}
</script>

<style lang="stylus">
	@import "../../static/stylus/register/register.stylus"
</style>
